<!doctype html>
<title>CSS test reference</title>
<style>
p {
  width: 40ch;
  font: 16px/1 monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
</style>
<p>short<p>
